package com.call.project.entity;

import java.io.Serializable;

/**
 Created by IntelliJ IDEA.
 User: wk
 Date: 2017-03-22 下午3:32
 */
public class SerialPort implements Serializable{
    private Integer   portNumber;
    private Integer   rate;
    private Character partity;
    private Integer   databits;
    private Integer   stopbits;

    public Integer getPortNumber() {
        return portNumber;
    }

    public void setPortNumber(Integer portNumber) {
        this.portNumber = portNumber;
    }

    public Integer getRate() {
        return rate;
    }

    public void setRate(Integer rate) {
        this.rate = rate;
    }

    public Character getPartity() {
        return partity;
    }

    public void setPartity(Character partity) {
        this.partity = partity;
    }

    public Integer getDatabits() {
        return databits;
    }

    public void setDatabits(Integer databits) {
        this.databits = databits;
    }

    public Integer getStopbits() {
        return stopbits;
    }

    public void setStopbits(Integer stopbits) {
        this.stopbits = stopbits;
    }

    @Override
    public String toString() {
        return "SerialPort{" + "portNumber=" + portNumber + ", rate=" + rate + ", partity=" + partity + ", databits="
               + databits + ", stopbits=" + stopbits + '}';
    }
}
